home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / pcmagdoc.arc / STICK.DOC < prev    next >
Text File  |  1988-01-19  |  3KB  |  58 lines

  1. STICK
  2. Command
  3.  
  4. Jeff Prosise          1987/No. 20 (Utilities)
  5.  
  6.  
  7. Purpose:    Locks/unlocks a cursor size and shape set with CTYPE.COM
  8.  (Volume 6 Number 19); similarly locks/unlocks a choice of EGA foreground and
  9.  background colors; and permits selective replacement of the EGA BIOS code for
  10.  CGA emulation.
  11.  
  12. Format:    [d:][path]STICK [/L+|-] [/E+|-] [/B+|-] [/C-| fg bg]
  13.  
  14. Remarks:    STICK is a memory-resident (560 bytes) program that eliminates
  15.  several recurring problems connected with the Enhanced Graphics Adaptor (EGA)
  16.  and display.  A non-resident utility such as CTYPE.COM can set a cursor size
  17.  and shape in DOS, and it can prevent the cursor loss frequently encountered
  18.  when exiting from utilities such as SideKick while using a 43-line EGA 
  19. display.  CTYPE alone can do nothing when applications reset the cursor, 
  20. however, as they normally do.  The STICK /L+ option locks in  the cursor shape
  21.  for all but applications (such as 1-2-3) that bypass the PC BIOS cursor
  22.  routines altogether.  To permit some applications (such as word processors)
  23.  to manipulate the cursor shape themselves, the STICK /L- option disables 
  24. cursor locking.
  25.  
  26.     The STICK /C fg bg option sets EGA foreground and background colors
  27.  respectively, using the hex digits shown below:
  28.  
  29.      0    Black     8  Gray
  30.      1    Blue           9  Bright Blue
  31.      2    Green        A  Bright Green
  32.      3    Cyan        B  Bright Cyan
  33.      4    Red        C  Bright Red
  34.      5    Magenta    D  Bright Magenta
  35.      6    Brown        E    Yellow
  36.      7    White        F    Bright White
  37.  
  38.     The foreground color (fg) may range from 0 through F; background (bg)
  39.  values are limited to 0 through 7.  A single space must separate each 
  40. parameter.  The /C- option disables the color selection locking.
  41.  
  42.     The STICK /E+ option substitutes STICK's own cursor emulation BIOS
  43.  code for the bug-ridden IBM emulation routines.  By default, or by using the
  44.  /E- option, the IBM code is restored.  Since the EGA provides an emulation
  45.  bit whose setting is stored in the BIOS data area, STICK provides an option
  46.  to set or reset this bit directly.  If the /E+ option is active (emulation
  47.  on), STICK /B+ sets the bit value to 1 (disabling the EGA routines); STICK
  48.  /B- re-enables them.
  49.  
  50.     Entered with no parameters, STICK reports the current settings of its
  51.  functions.  Any or all optional parameters can be entered on a single command
  52.  line in either upper or lower case.  The /L and /C options are implemented on
  53.  all video adapters; the /E switch is limited to EGA systems; /B is functional
  54.  on EGA and VGA-based machines.  
  55.     
  56.  
  57. Format:    [d:][path]STICK [/L+|-] [/E+|-] [/B+|-] [/C-| fg bg]
  58.